package com.yxw.yx_hotel.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="QueryRoomReportDto", description="宿舍报表查询Dto")
public class QueryRoomReportDto extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域名称")
    private String regionName;

    @ApiModelProperty(value = "是否维修房 1:是 0：否")
    private Integer repairType;

    @ApiModelProperty(value = "报销状态  0：满房 1：有空床 2：空房")
    private Integer roomType;

    @ApiModelProperty(value="维修费用时间始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairTimeStart;

    @ApiModelProperty(value="=维修费用时间止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairTimeEnd;

    @JsonIgnore
    @ApiModelProperty(value = "租户ID")
    private Long tenantId;

    @ApiModelProperty(value = "标题ID集合")
    private List<Long> titelIdList;
}
